package org.mycub.server.requester.descriptors;

import java.net.MalformedURLException;
import java.net.URL;

public class PaidParkingsDescription extends LayerDescription{

	
	public PaidParkingsDescription() throws MalformedURLException{
	
		String query = "http://odata.bordeaux.fr/v1/databordeaux/sigparkpub?" +
				"$filter=nature%20eq%20'Surface%20payant'" +
				"&$select=cle,nom,nombre_de_places,x_long,y_lat" +
				"&$top=100" +
				"&format=json";
		this.setJsonURL(new URL(query));
		setTimeToRefresh(30,0,0);
	}
}
